home *** CD-ROM | disk | FTP | other *** search
/ Speccy ClassiX 1998 / Speccy ClassiX 98.iso / amiga_system / the_aminet / comm / bbs / maxsbbsus.lha / MAX154 / TBM / FixConfigs / ReadMe
Text File  |  1995-04-25  |  3KB  |  56 lines

  1.   
  2.   
  3.   Okay, first off, I tried three or four different patch-making programs, and
  4. Fix 1.1 was the simplest and best.  It has one little hitch which I got
  5. around; it looks for the file size to be as specified in the FIXFILE, but our
  6. config file is always changing size, rats.
  7.  
  8.   What I did was have little DU 1.0 list the size of the config file,
  9. outputting it to a textfile.  I tried a bunch of Listers, and DU 1.0 was the
  10. only one that just spit out a single line with (almost) just the file size on
  11. it.  It also has the file name, but since it's always in the same place in
  12. the outputted file, I first run Fix to take out the name.  What I end up with
  13. is a single-line textfile with the current config's size on it.  That's the
  14. "middle part" of the FIXFILE.  I then Join the three parts, and that's the
  15. FIXFILE for Fix to run on config2.  What do you mean, confusing?
  16.  
  17.   It then joins config3's parts, and fixes config3.  This wouldn't be as
  18. confusing as it sounds if Fix didn't require the current file size in the
  19. FIXFILE.  It also expects a certain character to be in the place it's going
  20. to change, but that part's okay, those values stay the same.  Since you're
  21. gong to rename your config files something else, you'll have to change the
  22. "fixfile" script.
  23.  
  24.   I won't elaborate on the actual step-by-step hex changes, it would take
  25. forever and besides, this was actually kind of fun, so I wouldn't want to
  26. deprive you of your chance to be a real, live programmer!  :)  
  27.  
  28.   You'll want FCMP, enclosed, to show you the dif between configs (use
  29. Verbose mode), and I tossed in Fix 1.1 and DU 1.0, just in case you don't
  30. have anything better.
  31.  
  32.   My scripts won't work for you, as you'll have different modem settings, but
  33. you can use them as guidelines.  You may need two different hex editors, as
  34. there's two different ways of displaying the hex codes and locations.  I used
  35. the ever-faithful NewZap for some stuff, FileMaster for the rest.  DekSid is
  36. also pretty nice.  Don't get excited when you see FileMaster has a built-in
  37. patch-making program; won't work for our application.
  38.  
  39.   You should certainly check around for a better patch-maker; ideally you
  40. want one that just writes the new locations, and doesn't care about file size
  41. or what was there before, like Fix does.  Oh, also, a few of the patch-makers
  42. I tried made these BIG "patches", but that's not what we're looking for.  We
  43. just want something that will go in, zap it, and get out.
  44.  
  45.  
  46.   P.S.  If this seems like it's too much for you, but you've got a handle on
  47. how FakeKey and MovePointer do their thing, you can let them do the entire
  48. routine for you.  Just whip up a scriptfile having them pull down the Modem
  49. Config Menu, make the changes, save things, go around to the next node,
  50. change and save those modem configs, etc, just like you'd do it by hand.
  51. That's what I was doing before I whipped up this little gem.  Start it from
  52. node 1 with Switcher, or from the WB with a "Wait 4" command, so you can zip
  53. around to Node 1 and click on the screen to activate it.  Then FakeKey and
  54. MovePointer muscle in, and the show's on!  My script for it is "Update.scp3".
  55.  
  56.